package com.ruanda.feign.sentinel;

import com.ruanda.domain.Basket;
import com.ruanda.feign.OrderBasketFeign;
import com.ruanda.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class OrderBasketSentinel implements OrderBasketFeign {

    @Override
    public Result<List<Basket>> getBasketListByIds(List<Long> ids) {
        log.error("调用订单服务失败");
        return null;
    }

    @Override
    public Result<Boolean> removeBasketByOpenIdAndSkuIds(Map<String, Object> param) {
        log.error("调用订单服务失败");
        return null;
    }
}
